package com.data.entity;

import java.util.Date;

import com.base.annotation.DisplayField;

/**
 * 实时采集数据库表
 * @author Administrator
 *
 */
public class BaseDataDto {
	private Long id;//主键id
	private String equNo;//设备编号，唯一，与设备表设备编号,生产线编号字段对应
	private Double U_a;//A相电压(电压取值)
	private Double I_a;//A相电流(电流取值)
	private Double P_active;//总有功功率(总功率取值)
	private Integer Frequency;//频率
	private Double P_engry;//正向吸收有功电能(电度取值)
	private Date Time;//数据采集时间
	
	@DisplayField
	private Double macEngry;//设备电度
	@DisplayField
	private Double macCharges;//设备电费
	@DisplayField
	private String macStateType;//设备状态
	@DisplayField
	private String path;//图片地址
	
	@Override
	public String toString() {
		return "BaseDataDto [id=" + id + ", equNo=" + equNo + ", U_a=" + U_a
				+ ", I_a=" + I_a + ", P_active=" + P_active + ", Frequency="
				+ Frequency + ", P_engry=" + P_engry + ", Time=" + Time
				+ ", macEngry=" + macEngry + ", macCharges=" + macCharges
				+ ", macStateType=" + macStateType + "]";
	}
	
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getEquNo() {
		return equNo;
	}
	public void setEquNo(String equNo) {
		this.equNo = equNo;
	}
	public Double getU_a() {
		return U_a;
	}
	public void setU_a(Double u_a) {
		U_a = u_a;
	}
	public Double getI_a() {
		return I_a;
	}
	public void setI_a(Double i_a) {
		I_a = i_a;
	}
	public Double getP_active() {
		return P_active;
	}
	public void setP_active(Double p_active) {
		P_active = p_active;
	}
	public Integer getFrequency() {
		return Frequency;
	}
	public void setFrequency(Integer frequency) {
		Frequency = frequency;
	}
	public Double getP_engry() {
		return P_engry;
	}
	public void setP_engry(Double p_engry) {
		P_engry = p_engry;
	}
	public Date getTime() {
		return Time;
	}
	public void setTime(Date time) {
		Time = time;
	}
	public Double getMacEngry() {
		return macEngry;
	}
	public void setMacEngry(Double macEngry) {
		this.macEngry = macEngry;
	}
	public Double getMacCharges() {
		return macCharges;
	}
	public void setMacCharges(Double macCharges) {
		this.macCharges = macCharges;
	}
	public String getMacStateType() {
		return macStateType;
	}
	public void setMacStateType(String macStateType) {
		this.macStateType = macStateType;
	}
	public String getPath() {
		return path;
	}
	public void setPath(String path) {
		this.path = path;
	}
	
	
}
